package com.bjx.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjx.system.domain.entity.MenuEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @desc: 菜单Mapper
 * @author: liushuai
 * @date: 2022/7/6 13:57
 */
@Mapper
public interface MenuMapper extends BaseMapper<MenuEntity> {


    /**
     * 根据用户Id查询用户所有的菜单列表
     * @param userId
     * @return: java.util.List<com.bjx.system.domain.entity.MenuEntity>
     * @Author: liushuai
     * @Date: 2022/11/16 16:48
     */
    List<MenuEntity> listUserMenuByUserId(Long userId);
}